package com.shuorikeji.huohuo.http;

/**
 * Created by wxl
 */

public class ApiUrl {
    /************************************************
     * 服务器地址 （环境配置：TEST测试模式, PROD正式服）
     ************************************************/
    //TODO 上线务必改成PROD
    public static String MODEL = "PROD";
    public static String API_BASE_URL = "";// 默认服务器
    public static String API_UPLOAD_URL = "";// 默认上传服务器
    public static String WEB_CONST_URL = "";//H5页面
    public static String WEB_ASSISTANT_URL = "";//助手页面
    public static String API_TOKEN_URL = "";// 默认获取token服务器
    public static String TOKEN_PARAMS = "";     //获取token 参数
    public static String API_BASE_NEW_URL = ""; //新系统的接口
    public static String API_BASE_NEW_URL_PATIENT = ""; //患者加好友
    public static String API_BASE_NEW_URL_MESSAGE = "";//消息
    public static String API_BASE_UPLOAD_URL = ""; //图片上传
    public static String API_BASE_BANK_TYPE_URL = ""; //银行列表
    public static String API_BASE_NEEDS_DETAIL_URL = ""; //分享需求
    public static String HEATH_DATE_URL = ""; //健康数据url
    public static String SEND_ORDER_TO_PATIENT_FOR_WECHAT_URL = "";//开方成功通过微信发送给患者Url
    public static String PRESCRIPTION_NOTE_URL = "";//处方笺图片URL前缀

    static {
        if (MODEL.equals("TEST")) {
            // 测试服
            API_BASE_URL = "https://wjyx.hnyywkj.com";  // 新的测试环境

            WEB_CONST_URL = "https://doctortest.syhdoctor.com/#/";  //H5页面测试
            WEB_ASSISTANT_URL = "https://doctortest.syhdoctor.com/#/Assistant"; //助手测试页面
            API_TOKEN_URL = "https://micro-api-test.syhdoctor.com/api-auth/";

            API_BASE_NEW_URL = "https://micro-api-test.syhdoctor.com/api-doctor-app/";  //新的测试环境

            API_BASE_NEW_URL_PATIENT = "https://micro-api-test.syhdoctor.com/api-doctor-app/";  //新的测试环境

            API_BASE_NEW_URL_MESSAGE = "https://micro-api-test.syhdoctor.com/api-doctor-app/";  //新的测试环境

            API_BASE_UPLOAD_URL = "https://micro-api-test.syhdoctor.com/api-doctor-app/"; //图片上传

            API_BASE_BANK_TYPE_URL = "https://micro-api-test.syhdoctor.com/api-app/"; //查询银行类型

            API_BASE_NEEDS_DETAIL_URL = "https://micro-share-test.syhdoctor.com/"; //分享需求链接


            HEATH_DATE_URL = "https://apps.syhdoctor.com/#/me?token="; //健康数据url

            SEND_ORDER_TO_PATIENT_FOR_WECHAT_URL = "https://substitute-tt.syhdoctor.com/#/?";//开方成功通过微信发送给患者Url

            PRESCRIPTION_NOTE_URL = "https://proxytest.syhdoctor.com/api/localdoctor/upload/getLocalFile/";

            //获取token参数
            TOKEN_PARAMS = "app";
        } else if (MODEL.equals("PROD")) {
            // 正式服
            API_BASE_URL = "https://app.hctonghui.com";  // 线上环境
            WEB_CONST_URL = "https://andiropro.syhdoctor.com/#/"; //H5页面线上
            WEB_ASSISTANT_URL = "https://andiropro.syhdoctor.com/#/Assistant"; //助手线上页面
            API_TOKEN_URL = "https://micro-api.syhdoctor.com/api-auth/"; //获取token

            API_BASE_NEW_URL = "https://micro-api.syhdoctor.com/api-doctor-app/"; //新系统接口线上接口

            API_BASE_NEW_URL_PATIENT = "https://micro-api.syhdoctor.com/api-doctor-app/";  //患者列表

            API_BASE_NEW_URL_MESSAGE = "https://micro-api.syhdoctor.com/api-doctor-app/";  //消息列表

            API_BASE_UPLOAD_URL = "https://micro-api-test.syhdoctor.com/api-doctor-app/"; //图片上传

            API_BASE_BANK_TYPE_URL = "https://micro-api.syhdoctor.com/api-app/"; //查询银行类型

            API_BASE_NEEDS_DETAIL_URL = "https://micro-share.syhdoctor.com/"; //分享需求链接

            HEATH_DATE_URL = "https://apps-pro.syhdoctor.com/#/me?token="; //健康数据url

            SEND_ORDER_TO_PATIENT_FOR_WECHAT_URL = "https://substitute.syhdoctor.com/#/?";//开方成功通过微信发送给患者Url

            PRESCRIPTION_NOTE_URL = "https://proxyprod.syhdoctor.com/api/localdoctor/upload/getLocalFile/";

            //获取token参数
            TOKEN_PARAMS = "app";
        } else if (MODEL.equals("UAT")) {
            //预上线环境
        }
    }

    /**
     * 登录接口
     */
    public static final String GET_LOGIN = "/api/prv/login";

    /**
     * 获取二级分类
     */
    public static final String GET_SEC_FL = "/api/Novel/category";

    /**
     * 获取推荐位小说
     */
    public static final String GET_TJ_BOOK = "/api/Novel/recommend";

    /**
     * 获取所有书籍
     */
    public static final String GET_ALL_BOOK = "/api/Novel/NovelList";

    /**
     * 猜你喜欢
     */
    public static final String C_YOU_LIKE = "/api/Novel/likeNovel";

    /**
     * 获取热门标签列表
     */
    public static final String GET_HOT_TAG = "/api/Novel/getHotTag";

    /**
     * 获取用户信息
     */
    public static final String GET_USER_INFO = "/api/prv/userInfo";

    /**
     * 获取小说评论列表
     */
    public static final String GET_BOOK_PL = "/api/Novel/getReviewList";

    /**
     * 获取小说详情
     */
    public static final String GET_BOOK_DETAIL = "/api/Novel/NovelInfo";

    /**
     * 添加书架
     */
    public static final String ADD_SJ = "/api/Novel/addBookshelf";

    /**
     * 获取章节列表
     */
    public static final String GET_BOOK_ZJ = "/api/Novel/getchapterList";

    /**
     * 获取字体和背景列表
     */
    public static final String GET_FONT_BG = "/api/Novel/fontAndBack";

    /**
     * 设置背景
     */
    public static final String SET_READ_BG = "/api/Novel/setBack";

    /**
     * 设置字体
     */
    public static final String SET_FONT = "/api/Novel/setFont";

    /**
     * 获取章节詳情
     */
    public static final String GET_BOOK_ZJ_DETAIL = "/api/Novel/getChapterInfo";

    /**
     * 添加阅读记录
     */
    public static final String ADD_READ_HIS = "/api/Novel/addRead";

    /**
     * 举报章节
     */
    public static final String JB_BOOK_ZJ = "/api/Novel/report";

    /**
     * 获取所有分类
     */
    public static final String GET_ALL_SORT = "/api/Novel/getCreateList";

    /**
     * 添加评价
     */
    public static final String PL_BOOK = "/api/Novel/addRreview";

    /**
     * 获取漫画一级分类
     */
    public static final String GET_MH_1_FL = "/api/Cartoon/channel";

    /**
     * 获取所有漫画
     */
    public static final String GET_All_MH = "/api/Cartoon/cartoonList";

    /**
     * 获取精品漫画
     */
    public static final String GET_JX_MH = "/api/Cartoon/recommend";

    /**
     * 漫画搜索历史
     */
    public static final String MH_SEARCH_HISTORY = "/api/Cartoon/searchList";

    /**
     * 小说搜索历史
     */
    public static final String BOOK_SEARCH_HISTORY = "/api/Novel/searchList";

    /**
     * 删除漫画搜索历史
     */
    public static final String DELETE_MH_SEARCH_HISTORY = "/api/Cartoon/delSerch";

    /**
     * 删除小说搜索历史
     */
    public static final String DELETE_BOOK_SEARCH_HISTORY = "/api/Novel/delSerch";

    /**
     * 漫画热门搜索
     */
    public static final String MH_HOT_SEARCH = "/api/Cartoon/hotSearch";

    /**
     * 小说热门搜索
     */
    public static final String BOOK_HOT_SEARCH = "/api/Novel/hotSearch";

    /**
     * 获取漫画详情
     */
    public static final String GET_MH_DETAIL = "/api/Cartoon/cartoonInfo";

    /**
     * 获取漫画章节列表
     */
    public static final String GET_MH_ZJ_LIST = "/api/Cartoon/getchapterList";

    /**
     * 获取漫画评价列表
     */
    public static final String GET_MH_PL_LIST = "/api/Cartoon/getReviewList";

    /**
     * 获取漫画章节详情
     */
    public static final String GET_MH_ZJ_DETAIL = "/api/Cartoon/getChapterInfo";

    /**
     * 添加评论
     */
    public static final String ADD_MH_PL = "/api/Cartoon/addRreview";

    /**
     * 短剧分类树
     */
    public static final String DJ_TYPE_TREE = "/api/pno/categoryTree";

    /**
     * 短剧列表
     */
    public static final String DJ_LIST = "/api/pno/videoList";

    /**
     * 短剧详情
     */
    public static final String DJ_DETAIL = "/api/pno/videoListInfo";

    /**
     * 短剧点赞
     */
    public static final String DJ_DZ = "/api/prv/videoloveAdd";

    /**
     * 获取小说书架列表
     */
    public static final String BOOK_SJ_LIST = "/api/Novel/getBookshelf";

    /**
     * 获取漫画书架列表
     */
    public static final String MH_SJ_LIST = "/api/Cartoon/getBookshelf";

    /**
     * 漫画添加书架
     */
    public static final String ADD_MH_SJ = "/api/Cartoon/addBookshelf";

    /**
     * 漫画删除书架
     */
    public static final String DELETE_MH_SJ = "/api/Cartoon/userDelBookshelf";

    /**
     * 添加/取消追剧
     */
    public static final String ADD_DELETE_ZJ = "/api/prv/videorecordAdd";

    /**
     * 追剧记录
     */
    public static final String ZJ_JL_LIST = "/api/prv/videorecordList";

    /**
     * 小说阅读历史
     */
    public static final String BOOK_READ_HIS = "/api/Novel/getRead";

    /**
     * 日常任务
     */
    public static final String COMMON_TASK = "/api/pno/coinConfig";

    /**
     * 获取全天任意读观看视频次数
     */
    public static final String GET_ALL_READ_SEE_VIDEO_COUNT = "/api/user/getAdvertising";

    /**
     * 获取漫画阅读历史
     */
    public static final String GET_MH_READ_HIS = "/api/Cartoon/getRead";

    /**
     * 添加漫画阅读历史
     */
    public static final String ADD_MH_READ_HIS = "/api/Cartoon/addRead";

    /**
     * 批量添加小说书架
     */
    public static final String PL_ADD_BOOK_SJ = "/api/Novel/addBookshelfs";

    /**
     * 批量删除小说阅读历史
     */
    public static final String PL_DELETE_BOOK_HIS = "/api/Novel/delRead";

    /**
     * 批量删除漫画阅读历史
     */
    public static final String PL_DELETE_MH_HIS = "/api/Cartoon/delRead";

    /**
     * 短剧浏览记录
     */
    public static final String DJ_SEE_JL = "/api/prv/videoLookAdd";

    /**
     * 短剧浏览记录列表
     */
    public static final String DJ_SEE_JL_LIST = "/api/prv/videoLookList";

    /**
     * 批量删除短剧记录
     */
    public static final String PL_DEL_DJ_JL = "/api/prv/videoLookDel";

    /**
     * 查看漫画书单
     */
    public static final String SEE_MH_SD = "/api/Cartoon/getBookList";

    /**
     * 漫画热门标签
     */
    public static final String MH_HOT_TAG = "/api/Cartoon/getHotTag";

    /**
     * 添加漫画书单
     */
    public static final String ADD_MH_SD = "/api/Cartoon/addBookList";

    /**
     * 我喜欢的短剧
     */
    public static final String MY_LIKE_DJ = "/api/prv/videoloveList";

    /**
     * 我的消息
     */
    public static final String MY_MSG = "/api/pno/noticeList";

    public static final String UPLOAD_PHOTO = "/api/common/upload";

    /**
     * 用户意见问题反馈
     */
    public static final String USER_YJFK = "/api/prv/userFeedbackAdd";

    /**
     * 收藏漫画书单
     */
    public static final String SC_MH_SD = "/api/Cartoon/collectBookList";

    /**
     * 取消收藏漫画书单
     */
    public static final String QX_SC_MH_SD = "/api/Cartoon/cancelCollectBookList";

    /**
     * 点赞漫画书单
     */
    public static final String DZ_MH_SD = "/api/Cartoon/likeBookList";

    /**
     * 取消点赞漫画书单
     */
    public static final String QX_DZ_MH_SD = "/api/Cartoon/cancelLikeBookList";

    /**
     * 我收藏的漫画书单
     */
    public static final String MY_SC_MH_SD = "/api/Cartoon/getCollectBookList";

    /**
     * 漫画书单详情
     */
    public static final String MH_SD_DETAIL = "/api/Cartoon/getBookListId";

    /**
     * 添加漫画到书单
     */
    public static final String ADD_MH_TO_SD = "/api/Cartoon/addBookListId";

    /**
     * 删除书单里的漫画
     */
    public static final String DEL_SD_MH = "/api/Cartoon/delBookListId";

    /**
     * 修改用户信息
     */
    public static final String XG_USER_INFO = "/api/prv/userEdit";

    /**
     * 钱包待使用明细
     */
    public static final String QB_DSY_MX = "/api/prv/moneyGiveLog";

    /**
     * 书单广场
     */
    public static final String MH_SD_GC = "/api/Cartoon/getBookListAll";

    /**
     * 漫画二级分类
     */
    public static final String MH_EJ_FL = "/api/Cartoon/category";

    /**
     * 直推记录
     */
    public static final String ZT_JL = "/api/prv/inviteLog";

    /**
     * 退出登录
     */
    public static final String TC_LOGIN = "/api/prv/logOut";

    /**
     * 注销账号
     */
    public static final String ZX_ZH = "/api/prv/logOff";

    /**
     * 漫画猜你喜欢
     */
    public static final String MH_CN_LIKE = "/api/Cartoon/likeCartoon";

    /**
     * 提现
     */
    public static final String TX = "/api/prv/tixianAdd";

    /**
     * 支付宝授权
     */
    public static final String ALI_PAY_SQ = "/api/prv/aliAuth";

    /**
     * 获取最新版本
     */
    public static final String GET_NEW_VERSION = "/api/pno/versionInfo";

    /**
     * 获取看广告次数
     */
    public static final String GET_SEE_AD_COUNT = "/api/user/getTask";

    /**
     * 观看小说广告后调用
     */
    public static final String GET_BOOK_AD_JL = "/api/user/novelRedisAdvertising";

    /**
     * 观看漫画广告后调用
     */
    public static final String GET_MH_AD_JL = "/api/user/CartoonRedisAdvertising";

    /**
     * 观看短剧广告解锁视频
     */
    public static final String DJ_AD_JS_DJ = "/api/prv/adLogAdd";

    /**
     * 间推记录
     */
    public static final String JT_JL = "/api/user/indirect";

    /**
     * 看广告之后调用
     */
    public static final String ALL_SEE_AD_DY = "/api/prv/adOrderAdd";

    /**
     * 间推记录
     */
    public static final String SEND_YZM = "/api/pno/sendsms";
}
